package io.gitee.duxiuhuan.mailbox;


import org.mybatis.spring.annotation.MapperScan;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.client.RestTemplate;


@ComponentScan("io.gitee.duxiuhuan.mailbox")
@MapperScan("io.gitee.duxiuhuan.mailbox.database")
public class MailBoxStarter {
    @Bean
    public RestTemplate restTemplate() {
        return new RestTemplate();
    }
}